# for module compiling
import os
from building import *

cwd = GetCurrentDir()
CPPPATH = [cwd]
src = []

if GetDepend(['UC_USING_SPI_COM']):
    src += ['uc_wiota_spi_com.c']
elif GetDepend(['UC_USING_AT_COM']):
    src += ['uc_wiota_at_com.c']

group = DefineGroup('wiota_api', src, depend=[''], CPPPATH=CPPPATH)
Return('group')
